package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:10
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductTeamRelateDAO extends IDataAccessInterface<ProductTeamRelate, ProductTeamRelateDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_TEAM_RELATE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_TEAM_RELATE.ID";

    /**
     * Mapped Field PRODUCT_ID
    */
    static final String ProductId = "PRODUCT_TEAM_RELATE.PRODUCT_ID";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_TEAM_RELATE.REMARKS";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_TEAM_RELATE.STATUS";

    /**
     * Mapped Field TEAM_ID
    */
    static final String TeamId = "PRODUCT_TEAM_RELATE.TEAM_ID";

    /**
     * Mapped Attribute productCode
    */
    static final String ProductCode = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductDefineDAO.ProductCode,
            com.ourteam.product.requirement.dao.IProductDefineDAO.EntityName +
            ".", "productA.");

    /**
     * Mapped Attribute productName
    */
    static final String ProductName = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductDefineDAO.ProductName,
            com.ourteam.product.requirement.dao.IProductDefineDAO.EntityName +
            ".", "productA.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductTeamRelate findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute teamCode
         */
        static final String TeamCode = "teamCode";

        /**
         * Attribute teamMail
         */
        static final String TeamMail = "teamMail";

        /**
         * Attribute teamStatus
         */
        static final String TeamStatus = "teamStatus";

        /**
         * Attribute productCode
         */
        static final String ProductCode = "productCode";

        /**
         * Attribute productName
         */
        static final String ProductName = "productName";

        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute productId
         */
        static final String ProductId = "productId";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute teamId
         */
        static final String TeamId = "teamId";

        /**
         * Attribute teamName
         */
        static final String TeamName = "teamName";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
